<script>
	import {
		getMemberProfile
	} from '@/api/user'
	export default {
		onLaunch: async function() {
			const res = await getMemberProfile()
			this.$store.commit('user/setProfile', res.result)
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	@import './styles/fonts.scss';
</style>